package ac.jp.u_tokyo.SyncLib.experiments.generated;import ac.jp.u_tokyo.SyncLib.language3.Console;import java.io.IOException;public class EJBOptimized extends Console {public static void main(String[] args) throws IOException
	{
		Console.interactiveExec(EJBOptimized.class);
	}
public static ac.jp.u_tokyo.SyncLib.SyncFactory getnonPersistentFactory(){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var1 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var1.setParaVars("ejb", "entitybean");
__generated_var1.setOtherVars("var5");
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var2 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var2.setValue(false);
__generated_var1.connectSync(__generated_var2, "var5");
ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory __generated_var3 = new ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory();
__generated_var3.setDictOverValue(false);
__generated_var3.setKey("Persistent");
__generated_var1.connectSync(__generated_var3, "ejb", "var5");
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var4 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var4.setValue(null);
__generated_var1.connectSync(__generated_var4, "entitybean");

return __generated_var1;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getpersistentFactory(){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var5 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var5.setParaVars("ejb", "entitybean", "modules");
__generated_var5.setOtherVars("var4", "var3", "moduleName", "moduleRef", "module");
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var6 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var6.setValue(true);
__generated_var5.connectSync(__generated_var6, "var3");
ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory __generated_var7 = new ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory();
__generated_var7.setDictOverValue(false);
__generated_var7.setKey("Persistent");
__generated_var5.connectSync(__generated_var7, "ejb", "var3");
ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory __generated_var8 = new ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory();
__generated_var8.setDictOverValue(true);
__generated_var8.setKey("Name");
__generated_var5.connectSync(__generated_var8, "ejb", "var4");
ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory __generated_var9 = new ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory();
__generated_var9.setDictOverValue(false);
__generated_var9.setKey("EJBName");
__generated_var5.connectSync(__generated_var9, "entitybean", "var4");
ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory __generated_var10 = new ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory();
__generated_var10.setDictOverValue(false);
__generated_var10.setKey("ModuleName");
__generated_var5.connectSync(__generated_var10, "entitybean", "moduleName");
ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory __generated_var11 = new ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory();
__generated_var11.setDictOverValue(true);
__generated_var11.setKey("Module");
__generated_var5.connectSync(__generated_var11, "ejb", "moduleRef");
ac.jp.u_tokyo.SyncLib.language.factories.KVDGetFactory __generated_var12 = new ac.jp.u_tokyo.SyncLib.language.factories.KVDGetFactory();
__generated_var12.setKeyOverValue(true);
__generated_var12.setKeyFactory((new ac.jp.u_tokyo.SyncLib.language3.GlobalIncrementalFactory()));
__generated_var5.connectSync(__generated_var12, "moduleRef", "modules", "moduleName");

return __generated_var5;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getnullableRefFactory(){
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var13 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var14 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var14.setParaVars("objRef", "objs");
__generated_var14.setOtherVars("var2");
ac.jp.u_tokyo.SyncLib.language.factories.KVDGetFactory __generated_var15 = new ac.jp.u_tokyo.SyncLib.language.factories.KVDGetFactory();
__generated_var15.setKeyOverValue(true);
__generated_var15.setKeyFactory(null);
__generated_var14.connectSync(__generated_var15, "objRef", "objs", "var2");
ac.jp.u_tokyo.SyncLib.language.factories.NotEqualFactory __generated_var16 = new ac.jp.u_tokyo.SyncLib.language.factories.NotEqualFactory();
__generated_var16.setDefaultValue((new ac.jp.u_tokyo.SyncLib.SetMembers.NoDefaultValue()));
__generated_var16.setValue(null);
__generated_var14.connectSync(__generated_var16, "var2");
__generated_var13.addFactory(__generated_var14);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var17 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var17.setParaVars("objRef", "objs");
__generated_var17.setOtherVars();
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var18 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var18.setValue(null);
__generated_var17.connectSync(__generated_var18, "objRef");
__generated_var13.addFactory(__generated_var17);

return __generated_var13;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getcontainmentRefMaintainerFactory(Object attr){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var19 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var19.setParaVars("srcDict", "tgtDict");
__generated_var19.setOtherVars();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var21 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var21.setParaVars("srcObj", "tgtDict");
__generated_var21.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var22 = getcontainmentRefFactory(attr);
__generated_var21.connectSync(__generated_var22, "srcObj", "tgtDict");
ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory __generated_var20 = new ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory(__generated_var21, 1,1);
__generated_var19.connectSync(__generated_var20, "srcDict", "tgtDict");

return __generated_var19;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getfindValueByFactory(Object attr){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var23 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var23.setParaVars("d", "attr", "k", "v");
__generated_var23.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var24 = getfindByFactory(attr);
__generated_var23.connectSync(__generated_var24, "d", "attr", "k");
ac.jp.u_tokyo.SyncLib.language.factories.DVDGetFactory __generated_var25 = new ac.jp.u_tokyo.SyncLib.language.factories.DVDGetFactory();
__generated_var25.setDictOverValue(true);
__generated_var23.connectSync(__generated_var25, "k", "d", "v");

return __generated_var23;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getfindByFactory(Object attr){
ac.jp.u_tokyo.SyncLib.language3.FindByFactory __generated_var26 = new ac.jp.u_tokyo.SyncLib.language3.FindByFactory();
__generated_var26.setattr(attr);

return __generated_var26;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getnullableRefMaintainerFactory(Object attr){
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var27 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var28 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var28.setParaVars("obj", "tgtDict");
__generated_var28.setOtherVars("tgtRef");
ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory __generated_var29 = new ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory();
__generated_var29.setDictOverValue(true);
__generated_var29.setKey(attr);
__generated_var28.connectSync(__generated_var29, "obj", "tgtRef");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var30 = getnullableRefFactory();
__generated_var28.connectSync(__generated_var30, "tgtRef", "tgtDict");
__generated_var27.addFactory(__generated_var28);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var31 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var31.setParaVars("obj", "tgtDict");
__generated_var31.setOtherVars();
ac.jp.u_tokyo.SyncLib.language.factories.TestEqualFactory __generated_var32 = new ac.jp.u_tokyo.SyncLib.language.factories.TestEqualFactory();
__generated_var32.setValue(null);
__generated_var31.connectSync(__generated_var32, "obj");
__generated_var27.addFactory(__generated_var31);

return __generated_var27;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getfindByNoChangeDFactory(Object attr){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var33 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var33.setParaVars("d", "v", "k");
__generated_var33.setOtherVars("d0");
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var35 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var36 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var36.setParaVars("a", "b");
__generated_var36.setOtherVars();
ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory __generated_var37 = new ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory();
__generated_var37.setDictOverValue(true);
__generated_var37.setKey(attr);
__generated_var36.connectSync(__generated_var37, "a", "b");
__generated_var35.addFactory(__generated_var36);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var38 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var38.setParaVars("a", "b");
__generated_var38.setOtherVars();
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var39 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var39.setValue(null);
__generated_var38.connectSync(__generated_var39, "a");
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var40 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var40.setValue(null);
__generated_var38.connectSync(__generated_var40, "b");
__generated_var35.addFactory(__generated_var38);
ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory __generated_var34 = new ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory(__generated_var35, 2,0);
__generated_var33.connectSync(__generated_var34, "d", "d0");
ac.jp.u_tokyo.SyncLib.language.factories.KVDGetFactory __generated_var41 = new ac.jp.u_tokyo.SyncLib.language.factories.KVDGetFactory();
__generated_var41.setKeyOverValue(false);
__generated_var41.setKeyFactory(null);
__generated_var33.connectSync(__generated_var41, "k", "d0", "v");

return __generated_var33;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getcontainmentRefFactory(Object attr){
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var42 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var43 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var43.setParaVars("srcObj", "tgtDict");
__generated_var43.setOtherVars("ref", "var1");
ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory __generated_var44 = new ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory();
__generated_var44.setDictOverValue(true);
__generated_var44.setKey(attr);
__generated_var43.connectSync(__generated_var44, "srcObj", "ref");
ac.jp.u_tokyo.SyncLib.language.factories.DVDGetFactory __generated_var45 = new ac.jp.u_tokyo.SyncLib.language.factories.DVDGetFactory();
__generated_var45.setDictOverValue(true);
__generated_var43.connectSync(__generated_var45, "ref", "tgtDict", "var1");
ac.jp.u_tokyo.SyncLib.language.factories.NotEqualFactory __generated_var46 = new ac.jp.u_tokyo.SyncLib.language.factories.NotEqualFactory();
__generated_var46.setDefaultValue((new ac.jp.u_tokyo.SyncLib.SetMembers.NoDefaultValue()));
__generated_var46.setValue(null);
__generated_var43.connectSync(__generated_var46, "var1");
__generated_var42.addFactory(__generated_var43);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var47 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var47.setParaVars("srcObj", "tgtDict");
__generated_var47.setOtherVars();
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var48 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var48.setValue(null);
__generated_var47.connectSync(__generated_var48, "srcObj");
__generated_var42.addFactory(__generated_var47);

return __generated_var42;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getmainFactory(){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var49 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var49.setParaVars("ejbs", "modules", "entitybeans");
__generated_var49.setOtherVars("moduleNames");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var50 = getmodulesAndNamesFactory();
__generated_var49.connectSync(__generated_var50, "modules", "moduleNames");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var51 = getcontainmentRefMaintainerFactory("Module");
__generated_var49.connectSync(__generated_var51, "ejbs", "modules");
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var53 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var54 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var54.setParaVars("ejb", "entitybean", "var6", "var7", "moduleNames");
__generated_var54.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var55 = getpersistentFactory();
__generated_var54.connectSync(__generated_var55, "ejb", "entitybean", "moduleNames");
__generated_var53.addFactory(__generated_var54);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var56 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var56.setParaVars("ejb", "entitybean", "var6", "var7", "moduleNames");
__generated_var56.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var57 = getnonPersistentFactory();
__generated_var56.connectSync(__generated_var57, "ejb", "entitybean");
__generated_var53.addFactory(__generated_var56);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var58 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var58.setParaVars("ejb", "entitybean", "var6", "var7", "moduleNames");
__generated_var58.setOtherVars();
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var59 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var59.setValue(null);
__generated_var58.connectSync(__generated_var59, "ejb");
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var60 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var60.setValue(null);
__generated_var58.connectSync(__generated_var60, "entitybean");
__generated_var53.addFactory(__generated_var58);
ac.jp.u_tokyo.SyncLib.language.factories.KeyDictMapCombinatorFactory __generated_var52 = new ac.jp.u_tokyo.SyncLib.language.factories.KeyDictMapCombinatorFactory( new ac.jp.u_tokyo.SyncLib.dictionaries.KeyFactory[]{(new ac.jp.u_tokyo.SyncLib.language3.GlobalIncrementalFactory()), (new ac.jp.u_tokyo.SyncLib.language3.GlobalIncrementalFactory()), }, __generated_var53,1);
__generated_var49.connectSync(__generated_var52, "ejbs", "entitybeans", "moduleNames");

return __generated_var49;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getmodulesAndNamesFactory(){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var61 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var61.setParaVars("modules", "names");
__generated_var61.setOtherVars();
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var63 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var64 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var64.setParaVars("module", "name");
__generated_var64.setOtherVars();
ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory __generated_var65 = new ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory();
__generated_var65.setDictOverValue(false);
__generated_var65.setKey("Name");
__generated_var64.connectSync(__generated_var65, "module", "name");
__generated_var63.addFactory(__generated_var64);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var66 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var66.setParaVars("module", "name");
__generated_var66.setOtherVars();
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var67 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var67.setValue(null);
__generated_var66.connectSync(__generated_var67, "module");
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var68 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var68.setValue(null);
__generated_var66.connectSync(__generated_var68, "name");
__generated_var63.addFactory(__generated_var66);
ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory __generated_var62 = new ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory(__generated_var63, 2,0);
__generated_var61.connectSync(__generated_var62, "modules", "names");

return __generated_var61;
}
}